<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateCreateLiveStreamTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('create_live_stream', function (Blueprint $table) {
            $table->increments('id');
            $table->string('live_broadcast_title')->default('')->comment('直播标题');
            $table->string('live_broadcast_message')->default('')->comment('直播标题');
            $table->string('cover_picture')->default('')->comment('封面图片');
            $table->string('live_stream_goods')->default('')->comment('添加商品图片');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('create_live_stream');
    }
}
